#ifndef QENTERNUMPAYCARD_H
#define QENTERNUMPAYCARD_H

#include <QtGui/QWidget>
#include <QtGui/QPainter>
#include <QtGui/QBitmap>
#include <QtGui/QKeyEvent>
#include "ui_qenternumpaycard.h"

class QEnterNumPayCard : public QWidget
{
    Q_OBJECT

public:
    QEnterNumPayCard(QWidget *parent = 0);
    ~QEnterNumPayCard();

    void paintEvent(QPaintEvent * event );

    void setNumPayCard();
    QString & getNumPayCard(){ return numPayCard_;};
    QFrame * balanceState;

public slots:
	void OnEditingFinished();
	void update();

private:
    Ui::QEnterNumPayCardClass ui;
    QString numPayCard_;


};

#endif // QENTERNUMPAYCARD_H
